package com.uzykj.modules.blog.mapper;

import com.uzykj.core.persistence.BaseMapper;
import com.uzykj.core.persistence.annotation.MyBatisMapper;
import com.uzykj.modules.blog.entity.BlogReview;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ghostxbh
 * @date 2020/7/8
 * 评论MAPPER
 */
@MyBatisMapper
public interface BlogReviewMapper extends BaseMapper<BlogReview> {

    /**
     * 获取评论
     *
     * @param noteId
     * @return
     */
    List<BlogReview> getByNote(@Param("noteId") String noteId);
}